<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="imagetoolbar" content="no"/>
    <link rel="stylesheet" href="http://www.39249.com/resources/css/common.css" media="all"/>
    <script src="http://www.39249.com/libs/jquery.min.js"></script>
    <link href="http://www.39249.com/libs/artDialog/skins/default.css" rel="stylesheet" />
    <script src="http://www.39249.com/libs/artDialog/artDialog.js"></script>
    <script src="http://www.39249.com/libs/artDialog/plugins/iframeTools.js"></script>

<style>
.step {
    margin-bottom: 20px;
    overflow: hidden;
    width: 100%;
}
.step li, .step li span {
    background-image: url("http://www.39249.com/resources/images/step.png");
    background-repeat: no-repeat;
    text-align: center;
}
.step li {
    background-position: right -108px;
    border: medium none;
    color: #605F5F;
    float: left;
    height: 29px;
    line-height: 29px;
    overflow: hidden;
    padding-left: 20px;
    position: relative;
    text-align: center;
    width: 125px;
    font-size:15px;
}
</style>
</head>
<body>

<form id="psdupdateForm" method="post">
	<div class="step">
    	<ol>
    		<li><em>1.</em>填写付款信息</li>
    		<li class="current"><em>2.</em>确认信息</li>
			<li><em>3.</em>付款</li>
    		<li class="last"><em>4.</em>付款成功</li>
    	</ol>
	</div>
	<div class="fm-item">
		<label for="bankInfo" class="fm-label required">对方银行信息</label>
		<div class="i-other" id="bankInfo"></div>
	</div>
	<div class="fm-item">
		<label for="bankLoc" class="fm-label required">对方银行所在地</label>
		<div class="i-other" id="bankLoc"></div>
	</div>
	<div class="fm-item">
		<label for="amount" class="fm-label required">付款总额</label>
		<div class="i-other" id="amount"></div>
	</div>
	<div class="fm-item">
		<label for="payTime" class="fm-label required">到账时间</label>
		<div class="i-other" id="payTime">下一个工作日到账</div>
	</div>
	<div class="fm-item">
		<label for="remark" class="fm-label required">备注</label>
		<div class="i-other" id="remark"></div>
	</div>
	<div class="fm-item">
		<label for="payeeMobile" class="fm-label required">对方手机号</label>
		<div class="i-other" id="payeeMobile"></div>
	</div>
	
	<div class="fm-item" style="padding-left:150px">
   	<span class="btn btn-ok">
        <input type="button" value="确认付款信息" id="verify"/>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;
    <span class="btn btn-ok">
        <input type="button" value="返回修改" id="cancel"/>
    </span>
	</div>
</form>
<!-- document.domain="39249.com"; -->
<script type="text/javascript">

document.domain="39249.com"; 

$("#verify").click(function(){
	if($("#payerId", parent.document).val() == $("#payeeId",parent.document).val()){
		$("#payinfopop", parent.document).hide();
		$(".error-box", parent.document).empty();
		$(".error-box", parent.document).css("display", "inline-block").append("收款和付款账号相同,不能创建交易。");
		return false;	
	}else{
		 //$(window.parent.paywait());
		 $("#payinfopop", parent.document).hide();
		parent.paywait();
	}
});

$("#cancel").click(function(){
	$("#payinfopop", parent.document).hide();
});
</script>
</body>
</html>